#include <stdio.h>

//交换两个变量的值
void Swap(int* a,int* b)
{
    int temp = *a;
    *a = *b;
    *b = temp;
}

int main()
{
    int a = 10;
    int b = 20;

    printf("a = %d,b = %d\n",a,b);

    Swap(&a,&b);
    
    printf("a = %d,b = %d\n",a,b);

    return 0;
}